package com.artisan.spider.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author kubilewang
 * @since 2022-03-18
 */
@TableName("sp_dept")
@ApiModel(value = "SpDept对象", description = "部门表")
@Data
public class SpDept implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("部门编号")
    private String deptCode;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("父级编号")
    private String deptParentCode;

    @ApiModelProperty("父级名称")
    private String deptParentName;

    @ApiModelProperty("法律分类编号(从字典读)")
    private String faguiType;

    @ApiModelProperty("部门类别(发布部门、批准部门)【从字典读】")
    private String deptGenre;

    @ApiModelProperty("创建人编号")
    private String createUserCode;

    @ApiModelProperty("创建人名称")
    private String createUserName;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("修改时间")
    private String updateTime;

    @ApiModelProperty("状态(0:禁用,1:启用,D:删除)")
    private String status;

    @ApiModelProperty("层级")
    private String treeLevel;

    @ApiModelProperty("排序号")
    private Integer sortNumber;
}
